//
//  MBProgressHUD+HYL.h
//  MBProgressHUD-HYL
//
//  Created by acorn-net01 on 2017/5/17.
//  Copyright © 2017年 HYL. All rights reserved.
//

#import "MBProgressHUD.h"

@interface MBProgressHUD (HYL)

+ (void)showSuccess:(NSString *)success toView:(UIView *)view;

+ (void)showError:(NSString *)error toView:(UIView *)view;

+ (void)showSuccess:(NSString *)success toView:(UIView *)view afterDelay:(NSInteger)delay;

+ (void)showError:(NSString *)error toView:(UIView *)view afterDelay:(NSInteger)delay;

+ (void)showCustom:(NSString *)text view:(UIView *)view;

+ (MBProgressHUD *)showMessage:(NSString *)message toView:(UIView *)view;

+ (void)showSuccess:(NSString *)success;

+ (void)showError:(NSString *)error;

+ (MBProgressHUD *)showMessage:(NSString *)message;

+ (void)hideHUDForView:(UIView *)view;

+ (void)hideHUD;

//显示自定义动画(自定义动画序列帧  找UI做就可以了)
+(void)showCustomAnimation:(NSString *)msg withImgArry:(NSArray *)imgArry inview:(UIView *)view;

@end
